char* mergeAlternately(char* word1, char* word2) {
	int flag = 1;
	char* ans = calloc(201, sizeof(char));
	int i = 0;
	while (*word1 && *word2) {
        if (flag == 1) {
            ans[i++] = *word1++;
            flag = 0;
        }
        else {
            ans[i++] = *word2++;
            flag = 1;
        }
    }
    if (*word1 == '\0') {
        while (*word2) {
            ans[i++] = *word2++;
        }
    }
    else {
        while (*word1) {
            ans[i++] = *word1++;
        }
    }
    
    return ans;
}
